package com.funo.logic.model.database;

import com.funo.logic.model.IdEntity;

import java.util.List;

/**
 * 表模型设计
 */
public class Table extends IdEntity {
    private static final long serialVersionUID = 6386292894372886686L;
    /**
     * 应用id
     */
    private String appId;
    /**
     * 表名
     */
    private String tableName;
    /**
     * 实体类名
     */
    private String entityName;
    /**
     * 表注释说明
     */
    private String comment;
    /**
     * 列配置集合
     */
    private List<Column> columnList;

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getEntityName() {
        return entityName;
    }

    public void setEntityName(String entityName) {
        this.entityName = entityName;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public List<Column> getColumnList() {
        return columnList;
    }

    public void setColumnList(List<Column> columnList) {
        this.columnList = columnList;
    }
}
